{include_core file="lib/header.html" center="center" title="帐号安全"}
{include_core file="lib/top_nav.html" }
      <div class="container">
        <div class="inner">
          <div class="con-top clearfix">
            {include_core file="lib/sidebar.html" crumbs_1="account" crumbs_2="account_safety"}
            <div class="bundling">
              <div class="bundling-title">
                <p class="safety">安全等级<span>{if $user_info.password == ''}29{elseif $user_info.email == '' || $user_info.mobile == ''}79{elseif $user_info.email != '' && $user_info.mobile != ''}100{/if}</span><em>分</em></p>
                <!-- <div class="bund-border"><span></span><em></em></div>
                <p class="safety2">存在<span>2</span>项风险</p> -->
              </div>
              <div class="bund-have">
                <ul>
                  {if $user_info.password != ''}
                  <li class="clearfix">
                    <div class="bund-passw clearfix">
                      <h4><img src="{$smarty.const.STATIC_URL}/images/icon-x1/safe1-x1.png" style="width:20px;height:32px"/></h4>
                      <p class="bund-txt">账号密码</p>
                      <p class="bund-txt2">用于保护账号信息和登录安全</p>
                    </div>
                    <div class="bund-update">
                      <a href="{AnUrl('user/setting/edit_account?edit_type=edit_password')}">修改</a>
                    </div>
                  </li>
                  {else}
                  <li class="clearfix">
                    <div class="bund-passw clearfix">
                      <h4><img src="{$smarty.const.STATIC_URL}/images/icon-x1/safe1-1-x1.png" style="width:32px;height:32px;"/></h4>
                      <p class="bund-txt">账号密码（未设置）</p>
                      <p class="bund-txt2">用于保护账号信息和登录安全，第三方登录可设置独立密码。</p>
                    </div>
                    <div class="bund-update">
                      <a href="{AnUrl('user/setting/edit_account?edit_type=set_password')}">设置</a>
                    </div>
                  </li>
                  {/if}
                  {if $user_info.email != ''}
                  <li class="clearfix">
                    <div class="bund-passw clearfix">
                      <h4><img src="{$smarty.const.STATIC_URL}/images/icon-x1/safe2-x1.png" style="width:32px;height:24px;"/></h4>
                      <p class="bund-txt">安全邮箱：{$user_info.email} {if !$user_info.is_check_email}(未验证){/if}</p>
                      <p class="bund-txt2">安全邮箱可以用于登录NBD账号，找回密码</p>
                    </div>
                    <div class="bund-update">
                      {if !$user_info.is_check_email}<a href="{AnUrl('user/setting/send_check_email')}">立即验证</a>{/if}
                      <a href="{AnUrl('user/setting/send_edit_email')}">修改</a>
                    </div>
                  </li>
                  {else}
                  <li class="clearfix">
                  <div class="bund-passw clearfix">
                    <h4><img src="{$smarty.const.STATIC_URL}/images/icon-x1/safe2-1-x1.png" style="width:32px;height:24px;"/></h4>
                    <p class="bund-txt">安全邮箱（未绑定）</p>
                    <p class="bund-txt2">安全邮箱可以用于登录NBD账号，找回密码</p>
                  </div>
                  <div class="bund-update">
                    <a href="{AnUrl('user/setting/edit_account?edit_type=set_email')}">绑定</a>
                  </div>
                  </li>
                  {/if}
                  {if $user_info.mobile != ''}
                  <li class="clearfix">
                    <div class="bund-passw clearfix">
                      <h4><img src="{$smarty.const.STATIC_URL}/images/icon-x1/safe3-x1.png" style="width:23px;height:32px;"/></h4>
                      <p class="bund-txt">安全手机：{$user_info.mobile}</p>
                      <p class="bund-txt2">安全手机可以用于登录NBD账号，找回密码</p>
                    </div>
                    <div class="bund-update">
                      <a href="{AnUrl('user/setting/edit_account?edit_type=edit_mobile')}">修改</a>
                    </div>
                  </li>
                  {else}
                  <li class="clearfix">
                    <div class="bund-passw clearfix">
                      <h4><img src="{$smarty.const.STATIC_URL}/images/icon-x1/safe3-1-x1.png" style="width:23px;height:32px;"/></h4>
                      <p class="bund-txt">安全手机（未绑定）</p>
                      <p class="bund-txt2">安全手机可以用于登录NBD账号，找回密码</p>
                    </div>
                    <div class="bund-update">
                      <a href="{AnUrl('user/setting/edit_account?edit_type=set_mobile')}">绑定</a>
                    </div>
                  </li>
                  {/if}
                </ul>
              </div>
            </div>
            <!--bundling  end-->
          </div>
          <!--con-top  end-->
        </div>
        <!--inner  end-->
      </div>
      <!--container  end-->
      <div class="pup-fc hidden"></div>
      <div class="bund-mail hidden">
        <div class="bund-close"><a href="javascript:void(0);"><img src="{$smarty.const.STATIC_URL}/images/close3.png"/></a></div>
        <div class="mail-txt">
          <p>系统已发送了一份激活邮件到您的邮箱</p>
          <p>请访问您的邮箱：<a href="javascript:void(0);" id="js_check_email"></a>，点击邮件中的链接便可激活您的账号</p>
        </div>
        <div class="bund-user"><a href="{AnUrl('user/setting/account_safety')}">验证完成</a></div>
      </div>
{include_core file="lib/footer.html"}